package day04;

import java.util.Arrays;

public class txt19 {
    public static void main(String[] args) {
        int[] a={4,9,6,7,6};

        System.out.println(a[4]);

        a[0]=40;

       System.arraycopy(a,1,a,4,1);
       System.out.println(Arrays.toString( a));


    }
}
